import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

const app = createApp(App)

/*
if (process.env.NODE_ENV === 'development') {
    import('vconsole').then(module => {
        const VConsole = module.default
        new VConsole()  // 页面右下角会出现调试按钮
    })
}*/


import Vant from 'vant'
import 'vant/lib/index.css'

app.use(router) // Vue 3 挂载路由
app.use(Vant)
app.mount('#app')
